﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TeamProject
{
    public partial class InsCompany : Form
    {
        public InsCompany()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Insurance.CompanyAdd f_CompAdd = new Insurance.CompanyAdd();
            f_CompAdd.MdiParent = Form1.ActiveForm;
            f_CompAdd.button1Text = "Добавяне";
            f_CompAdd.Show();
        }
        private void button2_Click(object sender, EventArgs e)
        {
            Insurance.CompanyAdd f_CompEdit = new Insurance.CompanyAdd();
            f_CompEdit.MdiParent = Form1.ActiveForm;
            f_CompEdit.button1Text = "Редактирай";
            f_CompEdit.Show();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            Insurance.ProductAdd f_ProdAdd = new Insurance.ProductAdd();
            f_ProdAdd.MdiParent = Form1.ActiveForm;
            f_ProdAdd.button1Text = "Добавяне";
            f_ProdAdd.Show();
        }

        
    }
}
